<!DOCTYPE HTML>
<html lang="en" >
    <!-- Start book 个人笔记 -->
    <head>
        <!-- head:start -->
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>弹性盒子 | 个人笔记</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-toggle-chapters/toggle.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../../md/tool/前端工具.html" />
    
    
    <link rel="prev" href="../../md/jquery/jquery.html" />
    

        <!-- head:end -->
    </head>
    <body>
        <!-- body:start -->
        
    <div class="book"
        data-level="5"
        data-chapter-title="弹性盒子"
        data-filepath="md/book/book.md"
        data-basepath="../.."
        data-revision="Thu Feb 14 2019 20:54:34 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        开始界面
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="md/html/jianjie.html">
            
                
                    <a href="../../md/html/jianjie.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        html
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="md/html/20170719.html">
            
                
                    <a href="../../md/html/20170719.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        head
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="md/html/2017720.html">
            
                
                    <a href="../../md/html/2017720.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        常用标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="md/html/sy.html">
            
                
                    <a href="../../md/html/sy.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        音频与视频
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="md/html/ckw.html">
            
                
                    <a href="../../md/html/ckw.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        实体字符与锚点
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="md/html/table.html">
            
                
                    <a href="../../md/html/table.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        table表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="md/html/input.html">
            
                
                    <a href="../../md/html/input.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        input标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="md/html/form.html">
            
                
                    <a href="../../md/html/form.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        form表单
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="md/html/buju.html">
            
                
                    <a href="../../md/html/buju.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        网页布局
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="md/css/css.html">
            
                
                    <a href="../../md/css/css.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        CSS
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="md/css/20170724.html">
            
                
                    <a href="../../md/css/20170724.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        选择器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="md/css/通配选择器.html">
            
                
                    <a href="../../md/css/通配选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.1.</b>
                        
                        通配选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="md/css/元素选择器.html">
            
                
                    <a href="../../md/css/元素选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.2.</b>
                        
                        元素选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="md/css/群组选择器.html">
            
                
                    <a href="../../md/css/群组选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.3.</b>
                        
                        群组选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.4" data-path="md/css/关系选择器.html">
            
                
                    <a href="../../md/css/关系选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.4.</b>
                        
                        关系选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="md/css/id和class选择器.html">
            
                
                    <a href="../../md/css/id和class选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.5.</b>
                        
                        id和class选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="md/css/weilei.html">
            
                
                    <a href="../../md/css/weilei.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.6.</b>
                        
                        伪类选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.7" data-path="md/css/属性选择器.html">
            
                
                    <a href="../../md/css/属性选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.7.</b>
                        
                        属性选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.8" data-path="md/css/伪对象选择器.html">
            
                
                    <a href="../../md/css/伪对象选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.8.</b>
                        
                        伪对象选择器
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="md/css/字体.html">
            
                
                    <a href="../../md/css/字体.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        字体库的使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="md/css/边框.html">
            
                
                    <a href="../../md/css/边框.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        border边框和background背景
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="md/css/浮动.html">
            
                
                    <a href="../../md/css/浮动.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        浮动
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="md/css/块级和行内.html">
            
                
                    <a href="../../md/css/块级和行内.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        块级和行内元素
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="md/css/盒子.html">
            
                
                    <a href="../../md/css/盒子.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        盒子模型和三角形
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="md/css/聊天气泡.html">
            
                
                    <a href="../../md/css/聊天气泡.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        聊天气泡
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="md/css/段落控制.html">
            
                
                    <a href="../../md/css/段落控制.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.</b>
                        
                        文字溢出处理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="md/css/固定定位.html">
            
                
                    <a href="../../md/css/固定定位.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.9.</b>
                        
                        定位
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="md/css/sacss.html">
            
                
                    <a href="../../md/css/sacss.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.</b>
                        
                        sacss和码云git的使用
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.10.1" data-path="md/css/sacss的安装.html">
            
                
                    <a href="../../md/css/sacss的安装.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.1.</b>
                        
                        sacss的安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10.2" data-path="md/css/sacss使用.html">
            
                
                    <a href="../../md/css/sacss使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.2.</b>
                        
                        sacss的使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10.3" data-path="md/css/码云.html">
            
                
                    <a href="../../md/css/码云.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.3.</b>
                        
                        码云
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="md/css/变换和过渡.html">
            
                
                    <a href="../../md/css/变换和过渡.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.11.</b>
                        
                        transform变换和transition过渡
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="md/css/swiper的使用.html">
            
                
                    <a href="../../md/css/swiper的使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.12.</b>
                        
                        swiper的使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.13" data-path="md/css/viewport视口.html">
            
                
                    <a href="../../md/css/viewport视口.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.13.</b>
                        
                        viewport视口
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.14" data-path="md/css/列式布局.html">
            
                
                    <a href="../../md/css/列式布局.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.14.</b>
                        
                        列式布局
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.15" data-path="md/css/媒体查询.html">
            
                
                    <a href="../../md/css/媒体查询.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.15.</b>
                        
                        媒体查询
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.16" data-path="md/css/flex弹性盒子.html">
            
                
                    <a href="../../md/css/flex弹性盒子.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.16.</b>
                        
                        flex弹性盒子
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="md/javascript/javascript.html">
            
                
                    <a href="../../md/javascript/javascript.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        javascript
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1" data-path="md/javascript/类型.html">
            
                
                    <a href="../../md/javascript/类型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.</b>
                        
                        类型与语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="md/javascript/定时器.html">
            
                
                    <a href="../../md/javascript/定时器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.2.</b>
                        
                        定时器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="md/javascript/Date.html">
            
                
                    <a href="../../md/javascript/Date.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.</b>
                        
                        Date时间、日期
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="md/javascript/document的使用.html">
            
                
                    <a href="../../md/javascript/document的使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.4.</b>
                        
                        DOM的增、删、改、查
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="md/javascript/数组.html">
            
                
                    <a href="../../md/javascript/数组.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.5.</b>
                        
                        数组
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="md/javascript/for循环.html">
            
                
                    <a href="../../md/javascript/for循环.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.6.</b>
                        
                        for循环
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="md/javascript/Math对象.html">
            
                
                    <a href="../../md/javascript/Math对象.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.7.</b>
                        
                        Math对象
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="md/javascript/事件.html">
            
                
                    <a href="../../md/javascript/事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.</b>
                        
                        事件
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.8.1" data-path="md/javascript/事件监听器.html">
            
                
                    <a href="../../md/javascript/事件监听器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.1.</b>
                        
                        事件监听器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.2" data-path="md/javascript/滚动条事件.html">
            
                
                    <a href="../../md/javascript/滚动条事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.2.</b>
                        
                        滚动条事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.3" data-path="md/javascript/事件代理.html">
            
                
                    <a href="../../md/javascript/事件代理.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.3.</b>
                        
                        事件代理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.4" data-path="md/javascript/事件派发.html">
            
                
                    <a href="../../md/javascript/事件派发.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.4.</b>
                        
                        事件派发
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.5" data-path="md/javascript/鼠标跟随事件.html">
            
                
                    <a href="../../md/javascript/鼠标跟随事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.5.</b>
                        
                        鼠标跟随事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.6" data-path="md/javascript/鼠标事件.html">
            
                
                    <a href="../../md/javascript/鼠标事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.6.</b>
                        
                        鼠标、键盘事件
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.9" data-path="md/javascript/对象.html">
            
                
                    <a href="../../md/javascript/对象.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.9.</b>
                        
                        对象
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.10" data-path="md/javascript/轮播图.html">
            
                
                    <a href="../../md/javascript/轮播图.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.10.</b>
                        
                        轮播图
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.11" data-path="md/javascript/高德地图的使用.html">
            
                
                    <a href="../../md/javascript/高德地图的使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.11.</b>
                        
                        高德地图的使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.12" data-path="md/javascript/预加载.html">
            
                
                    <a href="../../md/javascript/预加载.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.12.</b>
                        
                        预加载
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.13" data-path="md/javascript/vue框架.html">
            
                
                    <a href="../../md/javascript/vue框架.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.13.</b>
                        
                        vue框架
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.14" data-path="md/javascript/http缓存.html">
            
                
                    <a href="../../md/javascript/http缓存.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.14.</b>
                        
                        http缓存
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.15" data-path="md/javascript/闭包.html">
            
                
                    <a href="../../md/javascript/闭包.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.15.</b>
                        
                        闭包
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.16" data-path="md/javascript/Ajax.html">
            
                
                    <a href="../../md/javascript/Ajax.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.16.</b>
                        
                        Ajax
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.17" data-path="md/javascript/Ajax数据请求.html">
            
                
                    <a href="../../md/javascript/Ajax数据请求.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.17.</b>
                        
                        Ajax数据请求
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.18" data-path="md/javascript/打包工具.html">
            
                
                    <a href="../../md/javascript/打包工具.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.18.</b>
                        
                        打包工具
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.19" data-path="md/javascript/前端框架汇总.html">
            
                
                    <a href="../../md/javascript/前端框架汇总.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.19.</b>
                        
                        前端框架汇总
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4" data-path="md/jquery/jquery.html">
            
                
                    <a href="../../md/jquery/jquery.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.</b>
                        
                        jquery
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="5" data-path="md/book/book.html">
            
                
                    <a href="../../md/book/book.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.</b>
                        
                        弹性盒子
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6" data-path="md/tool/前端工具.html">
            
                
                    <a href="../../md/tool/前端工具.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.</b>
                        
                        前端工具
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.1" data-path="md/tool/git的安装.html">
            
                
                    <a href="../../md/tool/git的安装.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.1.</b>
                        
                        git的安装
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="7" data-path="md/opus/item.html">
            
                
                    <a href="../../md/opus/item.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.</b>
                        
                        项目
                    </a>
            
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../" >个人笔记</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h2 id="flexdirection&#x5C5E;&#x6027;">flex-direction&#x5C5E;&#x6027;</h2>
<p><code>flex-direction: row | row-reverse | column | column-reverse;</code></p>
<ul>
<li>row&#xFF08;&#x9ED8;&#x8BA4;&#x503C;&#xFF09;:&#x4E3B;&#x8F74;&#x4E3A;&#x6C34;&#x5E73;&#x65B9;&#x5411;&#xFF0C;&#x8D77;&#x70B9;&#x5728;&#x5DE6;&#x7AEF;&#x3002;</li>
<li>row-reverse:&#x4E3B;&#x8F74;&#x4E3A;&#x6C34;&#x5E73;&#x65B9;&#x5411;&#xFF0C;&#x8D77;&#x70B9;&#x5728;&#x53F3;&#x7AEF;&#x3002;</li>
<li>column:&#x4E3B;&#x8F74;&#x4E3A;&#x5782;&#x76F4;&#x65B9;&#x5411;&#xFF0C;&#x8D77;&#x70B9;&#x5728;&#x4E0A;&#x6CBF;&#x3002;</li>
<li>column-reverse:&#x4E3B;&#x8F74;&#x4E3A;&#x5782;&#x76F4;&#x65B9;&#x5411;&#xFF0C;&#x8D77;&#x70B9;&#x5728;&#x4E0B;&#x6CBF;&#x3002;<h2 id="flexwrap&#x5C5E;&#x6027;">flex-wrap&#x5C5E;&#x6027;</h2>
<code>flex-wrap: nowrap | wrap | wrap-reverse;</code></li>
<li>nowrap&#xFF08;&#x9ED8;&#x8BA4;&#xFF09;&#xFF1A;&#x4E0D;&#x6362;&#x884C;&#x3002; </li>
<li>wrap&#xFF1A;&#x6362;&#x884C;&#xFF0C;&#x7B2C;&#x4E00;&#x884C;&#x5728;&#x4E0A;&#x65B9;&#x3002; </li>
<li>wrap-reverse&#xFF1A;&#x6362;&#x884C;&#xFF0C;&#x7B2C;&#x4E00;&#x884C;&#x5728;&#x4E0B;&#x65B9;&#x3002; <h2 id="justifycontent&#x5C5E;&#x6027;">justify-content&#x5C5E;&#x6027;</h2>
<code>justify-content: flex-start | flex-end | center | space-between | space-around;</code></li>
<li>flex-start&#xFF08;&#x9ED8;&#x8BA4;&#x503C;&#xFF09;:&#x5DE6;&#x5BF9;&#x9F50;</li>
<li>flex-end:    &#x53F3;&#x5BF9;&#x9F50;</li>
<li>center:    &#x5C45;&#x4E2D;</li>
<li>space-between:&#x4E24;&#x7AEF;&#x5BF9;&#x9F50;&#xFF0C;&#x9879;&#x76EE;&#x4E4B;&#x95F4;&#x7684;&#x95F4;&#x9694;&#x90FD;&#x76F8;&#x7B49;&#x3002;</li>
<li>space-around:&#x6BCF;&#x4E2A;&#x9879;&#x76EE;&#x4E24;&#x4FA7;&#x7684;&#x95F4;&#x9694;&#x76F8;&#x7B49;&#x3002;&#x6240;&#x4EE5;&#xFF0C;&#x9879;&#x76EE;&#x4E4B;&#x95F4;&#x7684;&#x95F4;&#x9694;&#x6BD4;&#x9879;&#x76EE;&#x4E0E;&#x8FB9;&#x6846;&#x7684;&#x95F4;&#x9694;&#x5927;&#x4E00;&#x500D;&#x3002;
<img src="../../img/bg2015071010.png" alt="bg2015071010.png"><h2 id="alignitems&#x5C5E;&#x6027;">align-items&#x5C5E;&#x6027;</h2>
<code>align-items: flex-start | flex-end | center | baseline | stretch;</code></li>
<li>flex-start:&#x4EA4;&#x53C9;&#x8F74;&#x7684;&#x8D77;&#x70B9;&#x5BF9;&#x9F50;&#x3002;</li>
<li>flex-end:&#x4EA4;&#x53C9;&#x8F74;&#x7684;&#x7EC8;&#x70B9;&#x5BF9;&#x9F50;&#x3002;</li>
<li>center:&#x4EA4;&#x53C9;&#x8F74;&#x7684;&#x4E2D;&#x70B9;&#x5BF9;&#x9F50;&#x3002;</li>
<li>space-between:&#x4E0E;&#x4EA4;&#x53C9;&#x8F74;&#x4E24;&#x7AEF;&#x5BF9;&#x9F50;&#xFF0C;&#x8F74;&#x7EBF;&#x4E4B;&#x95F4;&#x7684;&#x95F4;&#x9694;&#x5E73;&#x5747;&#x5206;&#x5E03;&#x3002;</li>
<li>space-around:&#x6BCF;&#x6839;&#x8F74;&#x7EBF;&#x4E24;&#x4FA7;&#x7684;&#x95F4;&#x9694;&#x90FD;&#x76F8;&#x7B49;&#x3002;&#x6240;&#x4EE5;&#xFF0C;&#x8F74;&#x7EBF;&#x4E4B;&#x95F4;&#x7684;&#x95F4;&#x9694;&#x6BD4;&#x8F74;&#x7EBF;&#x4E0E;&#x8FB9;&#x6846;&#x7684;&#x95F4;&#x9694;&#x5927;&#x4E00;&#x500D;&#x3002;</li>
<li>stretch&#xFF08;&#x9ED8;&#x8BA4;&#x503C;&#xFF09;:&#x8F74;&#x7EBF;&#x5360;&#x6EE1;&#x6574;&#x4E2A;&#x4EA4;&#x53C9;&#x8F74;&#x3002;<br><img src="../../img/bg2015071011.png" alt="bg2015071011.png"></li>
</ul>
<p>&#x5177;&#x4F53;&#x5230;<a href="https://blog.csdn.net/mr_lp/article/details/50966842" target="_blank">&#x8FD9;&#x91CC;</a></p>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../../md/jquery/jquery.html" class="navigation navigation-prev " aria-label="Previous page: jquery"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../../md/tool/前端工具.html" class="navigation navigation-next " aria-label="Next page: 前端工具"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../../gitbook/app.js"></script>

    
    <script src="../../gitbook/plugins/gitbook-plugin-toggle-chapters/toggle.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"toggle-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        <!-- body:end -->
    </body>
    <!-- End of book 个人笔记 -->
</html>
